home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Know Your Baseball - The Greatest Player Resource
/
Know Your Baseball - Greatest Player.iso
/
Baseball
/
Director
/
KTGCST.CST
/
00064_Script_button Scripts for other sections
< prev
next >
Wrap
Text File
|
1998-09-21
|
719b
|
26 lines
on ThreeStateSkills
set mybutton = the clickon
set one = getat(gbuttonState, mybutton)
if one = 0 then
set the membernum of sprite mybutton = the membernum of sprite mybutton +1
setat(gbuttonState, mybutton,2)
set the blend of sprite (mybutton-20) = 100
end if
loadaudiomedia(mybutton)
end
on resetSkills
set mybutton = the clickon
repeat with y = 31 down to 25
set thisone = getat(gbuttonState,y)
if thisone > 0 and y <> mybutton then
set the blend of sprite y = 0
set the blend of sprite y-20 = 0
set the membernum of sprite y = the membernum of sprite y -1
setat(gbuttonState,y,0)
exit repeat
end if
end repeat
end